package com.thinkgem.jeesite.modules.devmng.web;

import com.thinkgem.jeesite.common.annotation.MobileApi;
import com.thinkgem.jeesite.common.web.BaseMobileApiController;
import com.thinkgem.jeesite.modules.devmng.entity.AppVersion;
import com.thinkgem.jeesite.modules.devmng.service.AppVersionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by admin on 2017-12-19.
 */
@MobileApi
@RestController
@RequestMapping("/mobile-api/appVersion")
public class AppVersionMobileController extends BaseMobileApiController {

    @Autowired
    private AppVersionService appVersionService;

    @RequestMapping(value = "/get")
    public AppVersion get() {
        return appVersionService.get("1");
    }

}
